class CreateSlaTemplates < ActiveRecord::Migration
  def self.up
    create_table :sla_templates do |t|
      t.string :name
      t.boolean :instances
      t.boolean :memsize
      t.boolean :url
      t.boolean :framework
      t.boolean :service
      t.boolean :runtime
      t.boolean :app_starttime
      t.boolean :app_stoptime


      t.timestamps
    end
  end

  def self.down
    drop_table :sla_templates
  end
end
